﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Data.Linq.Mapping;

namespace SSTU.Data
{
	[Table(Name = "GroupToClassMap")]
	public class GroupToClassMapEntity
	{
		[Column(
			DbType = "INT NOT NULL IDENTITY",
			IsPrimaryKey = true, IsDbGenerated = true,
			CanBeNull = false,
			AutoSync = AutoSync.OnInsert)]
		public int Id { get; set; }

		[Column(
			DbType = "NVARCHAR(20) NOT NULL",
			CanBeNull = false)]
		public string GroupId { get; set; }

		[Column(
			DbType = "NVARCHAR(50) NOT NULL",
			CanBeNull = false)]
		public string ClassId { get; set; }
	}
}
